package com.chaopei.msite_web.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Author Corday 天涯
 * @Date 2022/4/28 17:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserInfo {
    private  int id;
    private  String userName;
    private  String password;
    private  String realName;
    private  String  sex;
    private  String address;
    private  String question;
    private  String answer;
    private  String email;
    private  String favorate;
    private  int score;
//    java工具中的Date是与mysql中的date是一致
    private Date regDate;
//    0-未登录 1-已登录/ 已注销
    private  int status;
}
